﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="fhdb" content="true">
    <title>保证金账单</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/mybond.css">
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
</head>
<body>
    <div class="backBox" onClick="javascript:history.back(-1);">
        <span class="glyphicon glyphicon-chevron-left"></span>
    </div>
    <div class="topTitle">
        保证金账单
    </div>
    <table class="table table-bordered">
        <tr>
            <th>金额</th>
            <th>提交日期</th>
            <th>状态</th>
        </tr>
        <tbody id="bzjzd"></tbody>
    </table>
</body>
</html>
<script type="text/javascript">
    $(function () {
        $.ajax({
            type: "POST",
            url: "../../BaseRefWeb.aspx?stype=ISpBondmanageFun&method=GetBondBill&type=sp",
            success: function (result) {
                var data = JSON.parse(result);
                if (data.msg == "_timeout") {
                    window.location.href = "../UserLogin/Login.html";
                }
                else {
                    var html = "";
                    for (var i = 0; i < data.length; i++) {
                        var num = i + 1;
                        html += '<tr>';
                        html += '<td>' + data[i].TB_BZJ_PRICE + '</td><td>' + data[i].TB_ADDTIME + '</td><td>' + data[i].TB_BZJ_STATE + '</td>';
                        html += '</tr>';
                    }
                    $("#bzjzd").empty();
                    $("#bzjzd").append(html);
                }
            }
        });
    })
</script>